<html>
<head></head>
<body>
    <form action="index.php?mid={$match[0]['id']}&m=admin&c=Update&a=doupdate" method="post">
  球队1：<select name="teamone">
            <option value="{$match[0]['teamone']}">{$match[0]['tn1']}</option>
            {foreach from=$team item=v}
                <option value="{$v['id']}">{$v['team']}</option>
            {/foreach}
        </selct>
 比分： <input type="text" name="score" value="{$match[0]['score']}">
 球队2：<select name="teamtwo">
            <option value="{$match[0]['teamtwo']}">{$match[0]['tn2']}</option>
            {foreach from=$team item=v}
                <option value="{$v['id']}">{$v['team']}</option>
            {/foreach}
        </selct>
        <input type="submit" value="提交">
    </form>
</body>
</html>